// +----------------------------------------------------------------------
// | 商店api请求
// +----------------------------------------------------------------------

import request from "@/utils/request.js";

/**
 * 举例get请求
 * 获取产品详情
 * @param int id
 * 
 */
export function getProductDetail(id) {
	return request.get('product/detail/' + id, {}, {
		noAuth: true
	});
}


/**
 * 举例post请求
 * 用户发送验证码
 * @param data object 用户手机号
 */
export function registerVerify(data) {
	return request.post("register/verify", data, {
		noAuth: true
	});
}

